//
//  MainMenu.swift
//  GitTFGUI
//
//  Created by Samuel Richard Magny on 15-10-03.
//  Copyright © 2015 Samuel Richard Magny. All rights reserved.
//

import Cocoa

class MainMenu: NSMenu {

    static let FileTag = 1
    static let EditTag = 2
    static let CommandsTag = 3
    static let WindowTag = 4
    static let HelpTag = 5
    
    
    func commandsMenu() -> CommandsMenu
    {
        let commandMenuItem = itemWithTag(MainMenu.CommandsTag)
        return commandMenuItem?.submenu as! CommandsMenu
    }
    
    
    
}
